Skip to content

[SQUASHME]ASoC: SOF: cleanup for pci probing.#24

Merged
plbossart merged 2 commits into
thesofproject:topic/sof-devfrom
keyonjie:sof-pr
Jul 9, 2018
Merged

[SQUASHME]ASoC: SOF: cleanup for pci probing.#24
plbossart merged 2 commits into
thesofproject:topic/sof-devfrom
keyonjie:sof-pr

Conversation

@keyonjie
Copy link
Copy Markdown

@keyonjie keyonjie commented Jul 5, 2018

cleanup and correct pci free.

@keyonjie
Copy link
Copy Markdown
Author

keyonjie commented Jul 5, 2018

@plbossart I found some potential issues for pci probing(it may influence unload/reload) failed case today during reading cAVS driver code to try to understanding how hda/hdmi works on it, so here is a handy fix and verified on APL gpmrb.

keyonjie added 2 commits July 9, 2018 10:52
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Change to use devm_kstrdup() for string duplicate allocation, which will
be freed together with dev free, to fix memory leak (names are not freed)
during remove().

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
@keyonjie
Copy link
Copy Markdown
Author

keyonjie commented Jul 9, 2018

@plbossart @lgirdwood update v2 to add a fix for nocodec names memory leak, please help review.

@plbossart plbossart merged commit b0e1f51 into thesofproject:topic/sof-dev Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants